Update help for build to show number of jobs (#2805)
authorPanashe M. Fundira <fundirap@gmail.com>
Tue, 28 Jun 2016 02:35:55 +0000 (22:35 -0400)
committerPanashe M. Fundira <fundirap@gmail.com>
Tue, 28 Jun 2016 02:35:55 +0000 (22:35 -0400)
16 files changed:
src/bin/bench.rs
src/bin/build.rs
src/bin/doc.rs
src/bin/install.rs
src/bin/run.rs
src/bin/rustc.rs
src/bin/rustdoc.rs
src/bin/test.rs
src/doc/config.md
src/etc/_cargo
src/etc/man/cargo-bench.1
src/etc/man/cargo-build.1
src/etc/man/cargo-doc.1
src/etc/man/cargo-install.1
src/etc/man/cargo-run.1
src/etc/man/cargo-test.1

index fc412ef1aaaab742109c15e04ba2eb074d953841..a86d79f2bd22b2093b66c2c05e9eb5064f3fa6ff 100644 (file)
@@ -37,7 +37,7 @@ Options:
     --bench NAME                 Benchmark only the specified bench target
     --no-run                     Compile, but don't run benchmarks
     -p SPEC, --package SPEC ...  Package to run benchmarks for
-    -j N, --jobs N               The number of jobs to run in parallel
+    -j N, --jobs N               The number of jobs to run in parallel (defaults to # of CPUs)
     --features FEATURES          Space-separated list of features to also build
     --no-default-features        Do not build the `default` feature
     --target TRIPLE              Build for the target triple
index 25d69440edf74eeaa6f5f8e556abb2d0713ff0cc..4fde3a32ffb20faa28d8db629bb322387b723ffc 100644 (file)
@@ -33,7 +33,7 @@ Usage:
 Options:
     -h, --help                   Print this message
     -p SPEC, --package SPEC ...  Package to build
-    -j N, --jobs N               The number of jobs to run in parallel
+    -j N, --jobs N               The number of jobs to run in parallel (defaults to # of CPUs)
     --lib                        Build only this package's library
     --bin NAME                   Build only the specified binary
     --example NAME               Build only the specified example
index 37b5f60406ddefa9e2b76806419821fdd920fa3f..acc3b217d6514b8b70c656e441b7516558845fb9 100644 (file)
@@ -31,7 +31,7 @@ Options:
     --open                       Opens the docs in a browser after the operation
     -p SPEC, --package SPEC ...  Package to document
     --no-deps                    Don't build documentation for dependencies
-    -j N, --jobs N               The number of jobs to run in parallel
+    -j N, --jobs N               The number of jobs to run in parallel (defaults to # of CPUs)
     --lib                        Document only this package's library
     --bin NAME                   Document only the specified binary
     --release                    Build artifacts in release mode, with optimizations
index 5422375518fafdc1d8195dca018371c736b5b5c5..44353e4c7b934698885c678e95f82dbd1e8f74f8 100644 (file)
@@ -45,7 +45,7 @@ Specifying what crate to install:
 
 Build and install options:
     -h, --help                Print this message
-    -j N, --jobs N            The number of jobs to run in parallel
+    -j N, --jobs N            The number of jobs to run in parallel (defaults to # of CPUs)
     --features FEATURES       Space-separated list of features to activate
     -f, --force               Force overwriting existing crates or binaries
     --no-default-features     Do not build the `default` feature
index 7515eba5b8e8cba635000593410d130216de6028..2f0d2026f8bb9bc080460a3e80b410917eaa2704 100644 (file)
@@ -28,7 +28,7 @@ Options:
     -h, --help              Print this message
     --bin NAME              Name of the bin target to run
     --example NAME          Name of the example target to run
-    -j N, --jobs N          The number of jobs to run in parallel
+    -j N, --jobs N          The number of jobs to run in parallel (defaults to # of CPUs)
     --release               Build artifacts in release mode, with optimizations
     --features FEATURES     Space-separated list of features to also build
     --no-default-features   Do not build the `default` feature
index 2c2e850539bbe226f5b32f1b5489dfcbafac779d..e71fb78353c0b766f77e12328890ad91435be448 100644 (file)
@@ -35,7 +35,7 @@ Usage:
 Options:
     -h, --help               Print this message
     -p SPEC, --package SPEC  The profile to compile for
-    -j N, --jobs N           The number of jobs to run in parallel
+    -j N, --jobs N           The number of jobs to run in parallel (defaults to # of CPUs)
     --lib                    Build only this package's library
     --bin NAME               Build only the specified binary
     --example NAME           Build only the specified example
index 8ed63d991f9c9c93b542a124c5903edd308e557f..17a05eb43b8c9fcb76e137e2b4a1aa737e9b6ce0 100644 (file)
@@ -33,7 +33,7 @@ Options:
     -h, --help               Print this message
     --open                   Opens the docs in a browser after the operation
     -p SPEC, --package SPEC  Package to document
-    -j N, --jobs N           The number of jobs to run in parallel
+    -j N, --jobs N           The number of jobs to run in parallel (defaults to # of CPUs)
     --lib                    Build only this package's library
     --bin NAME               Build only the specified binary
     --example NAME           Build only the specified example
index 2d4dca94313f498f30a1c81389d34bc3e66c62a5..c35d1e7a97fd14613e87a1aa14571dbd4abbe66a 100644 (file)
@@ -41,7 +41,7 @@ Options:
     --bench NAME                 Test only the specified benchmark target
     --no-run                     Compile, but don't run tests
     -p SPEC, --package SPEC ...  Package to run tests for
-    -j N, --jobs N               The number of jobs to run in parallel
+    -j N, --jobs N               The number of jobs to run in parallel (defaults to # of CPUs)
     --release                    Build artifacts in release mode, with optimizations
     --features FEATURES          Space-separated list of features to also build
     --no-default-features        Do not build the `default` feature
index 9f193cc20451932f058d58e4001f0944a24e037d..55b4d0efb3134d074d9a1d5127340c72b90ba9e5 100644 (file)
@@ -79,7 +79,7 @@ proxy = "..."     # HTTP proxy to use for HTTP requests (defaults to none)
 timeout = 60000   # Timeout for each HTTP request, in milliseconds
 
 [build]
-jobs = 1                  # number of jobs to run by default (default to # cpus)
+jobs = 1                  # number of jobs to run by default (defaults to # of CPUs)
 rustc = "rustc"           # the rust compiler tool
 rustdoc = "rustdoc"       # the doc generator tool
 target = "triple"         # build for the target triple
index 529aa89f745c5eed40c66d492ea2fbf52fd79149..aee5c6b7eba2d1c362e9b183f52d3ba3e4b34ccd 100644 (file)
@@ -21,7 +21,7 @@ case $state in
                 _arguments \
                     '--features=[space separated feature list]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     "${command_scope_spec[@]}" \
                     '--manifest-path=[path to manifest]: :_files -/' \
                     '--no-default-features[do not build the default features]' \
@@ -37,7 +37,7 @@ case $state in
                 _arguments \
                     '--features=[space separated feature list]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     "${command_scope_spec[@]}" \
                     '--manifest-path=[path to manifest]: :_files -/' \
                     '--no-default-features[do not build the default features]' \
@@ -65,7 +65,7 @@ case $state in
                 _arguments \
                     '--features=[space separated feature list]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--manifest-path=[path to manifest]: :_files -/' \
                     '--no-deps[do not build docs for dependencies]' \
                     '--no-default-features[do not build the default features]' \
@@ -133,7 +133,7 @@ case $state in
                     '--features=[space separated feature list]' \
                     '--git=[URL from which to install the crate]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--no-default-features[do not build the default features]' \
                     '--path=[local filesystem path to crate to install]' \
                     '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
@@ -242,7 +242,7 @@ case $state in
                     '--example=[name of the bin target]' \
                     '--features=[space separated feature list]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--manifest-path=[path to manifest]: :_files -/' \
                     '--bin=[name of the bin target]' \
                     '--no-default-features[do not build the default features]' \
@@ -259,7 +259,7 @@ case $state in
                     '--color=:colorization option:(auto always never)' \
                     '--features=[features to compile for the package]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'=[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'=[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--manifest-path=[path to the manifest to fetch dependencies for]' \
                     '--no-default-features[do not compile default features for the package]' \
                     '(-p, --package)'{-p,--package}'=[profile to compile for]' \
@@ -276,7 +276,7 @@ case $state in
                     '--color=:colorization option:(auto always never)' \
                     '--features=[space-separated list of features to also build]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'=[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'=[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--manifest-path=[path to the manifest to document]' \
                     '--no-default-features[do not build the `default` feature]' \
                     '--open[open the docs in a browser after the operation]' \
@@ -302,7 +302,7 @@ case $state in
                 _arguments \
                     '--features=[space separated feature list]' \
                     '(-h, --help)'{-h,--help}'[show help message]' \
-                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel]' \
+                    '(-j, --jobs)'{-j,--jobs}'[number of jobs to run in parallel (defaults to # of CPUs)]' \
                     '--manifest-path=[path to manifest]: :_files -/' \
                     '--test=[test name]: :_test_names' \
                     '--no-default-features[do not build the default features]' \
index e88023050b3251a4d06744dc4f6e3260428cb5ef..d820d09169e0ae1b4af51c1ab432f0a43dd7f9ec 100644 (file)
@@ -69,7 +69,7 @@ Package to benchmarks for.
 .RE
 .TP
 .B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP
index b3aefa31635046305f9c2340d3d7a1673c3206e5..9323dae759fec7623744bdbb7e290ed5e288e3e2 100644 (file)
@@ -33,7 +33,7 @@ Package to build.
 .RE
 .TP
 .B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP
index f9fb352e17a5c4478070761a7768186af3b964f2..941cd2b24406dc41c3b48bdcdfb7841431be0fe0 100644 (file)
@@ -43,7 +43,7 @@ Don\[aq]t build documentation for dependencies.
 .RE
 .TP
 .B \-j \f[I]N\f[], \-\-jobs \f[I]N\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP
index 78bbff74899cdab5ccd6da8cd30aac986eb80c7f..f4b7012b5035a9f20c0a0ad13555ed917c1a23dd 100644 (file)
@@ -89,7 +89,7 @@ Print this message.
 .RE
 .TP
 .B \-j \f[I]N\f[], \-\-jobs \f[I]N\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP
index 4783e060c3f291d44ab3c8af950b92c92d26e71c..7a463a0907d52f04b4287c89d755df000c8fb097 100644 (file)
@@ -37,7 +37,7 @@ Name of the example target to run.
 .RE
 .TP
 .B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP
index a8c305f984bcec85d113bd65dc36a001231ef9cd..fac6e213743bafb879240adcab501aa9045e1cb0 100644 (file)
@@ -88,7 +88,7 @@ Package to run tests for.
 .RE
 .TP
 .B \-j \f[I]IN\f[], \-\-jobs \f[I]IN\f[]
-The number of jobs to run in parallel.
+The number of jobs to run in parallel (defaults to # of CPUs).
 .RS
 .RE
 .TP